package geppetto.reordering.graph;

import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePair;

public class ReorderingGraphEdge {
	protected ExtractedPhrasePair fromNode;
	protected ExtractedPhrasePair toNode;
	protected double potential = 0;
	
	public ReorderingGraphEdge(ExtractedPhrasePair fromNode,
			ExtractedPhrasePair toNode) {
		super();
		this.fromNode = fromNode;
		this.toNode = toNode;
	}

	public ExtractedPhrasePair getFromNode() {
		return fromNode;
	}

	public void setFromNode(ExtractedPhrasePair fromNode) {
		this.fromNode = fromNode;
	}

	public ExtractedPhrasePair getToNode() {
		return toNode;
	}

	public void setToNode(ExtractedPhrasePair toNode) {
		this.toNode = toNode;
	}

	public double getPotential() {
		return potential;
	}

	public void setPotential(double potential) {
		this.potential = potential;
	}
	
	
}
